<template>
   <TabBar>
            <template>
                <TabBarItem link="/home">
                    <template #icon>
                        <img src="~assets/img/tabbar/home.svg" alt="">
                    </template>
                    <template #iconActive>
                        <img src="~assets/img/tabbar/home_active.svg" alt="">
                    </template>
                    <template #text>
                        <div>首页</div>
                    </template>
                </TabBarItem>
                <TabBarItem link="/category">
                    <template #icon>
                        <img src="~assets/img/tabbar/category.svg" alt="">
                    </template>
                    <template #iconActive>
                        <img src="~assets/img/tabbar/category_active.svg" alt="">
                    </template>
                    <template #text>
                        <div>分类</div>
                    </template>
                </TabBarItem>
                <TabBarItem link="/cart">
                    <template #icon>
                        <img src="~assets/img/tabbar/cart.svg" alt="">
                    </template>
                    <template #iconActive>
                        <img src="~assets/img/tabbar/cart_active.svg" alt="">
                    </template>
                    <template #text>
                        <div>购物车</div>
                    </template>
                </TabBarItem>
                <TabBarItem link="/profile">
                    <template #icon>
                        <img src="~assets/img/tabbar/profile.svg" alt="">
                    </template>
                    <template #iconActive>
                        <img src="~assets/img/tabbar/profile_active.svg" alt="">
                    </template>
                    <template #text>
                        <div>我的</div>
                    </template>
                </TabBarItem>
            </template>
        </TabBar>
</template>

<script>
 import TabBar from 'components/common/tabBar/TabBar'
import TabBarItem from 'components/common/tabBarItem/TabBarItem'
export default {
name:'MainTabBar',
components:{
    TabBar,
    TabBarItem
}

}

</script>
<style scoped>
</style>